﻿namespace Jim.OA;

/// <summary>
/// 获取指定流程的签字意见
/// </summary>
[Sdk("/api/workflow/paService/getWorkflowRequestLogs",description: "获取指定流程的签字意见")]
public class OAGetWorkFlowRequestLogsInput : OAUserRequest<OAGetWorkFlowRequestLogsOutput>,ISdkCustomDic
{
    public string EndId { get; set; }
    public string PageSize { get; set; } = "10";
    public string RequestId { get; set; }
    public string WorkflowId { get; set; }

    public SdkDictionary Dic()
    {
        var dic = new SdkDictionary();
        if (!string.IsNullOrEmpty(EndId)) dic.Add("endId", EndId);
        if (!string.IsNullOrEmpty(PageSize)) dic.Add("pageSize", PageSize);
        if (!string.IsNullOrEmpty(RequestId)) dic.Add("requestId", value: RequestId);
        if (!string.IsNullOrEmpty(WorkflowId)) dic.Add("workflowId", WorkflowId);
        return dic;
    }

}


public class OAGetWorkFlowRequestLogsOutput : SdkResponse<List<OAGetWorkFlowRequestLog>>
{

}


public class OAGetWorkFlowRequestLog
{
    public string AnnexDocHtmls { get; set; }
    public string Id { get; set; }
    public string NodeId { get; set; }
    public string NodeName { get; set; }
    public string OperateDate { get; set; }
    public string OperateTime { get; set; }
    public string operateType { get; set; }
    public string OperatorDept { get; set; }
    public string OperatorId { get; set; }
    public string OperatorName { get; set; }
    public string ReceivedPersons { get; set; }
    public string Remark { get; set; }
    public string SignDocHtmls { get; set; }
    public string SignWorkFlowHtmls { get; set; }
}
